Declaration of a function in ST
Syntax |
---|
|
Meaning |
---|
declaration of a →function, The data type The |
Example |
---|
|
You are able to use the following language elements for ST within a function:
Blanks, tabs or new lines in ST
Declaration of external variables in ST
Declaration of in-out variables in ST
Declaration of input variables in ST
Declaration of internal variables in ST
Declaration of output variables in ST
Declaration of temporary variables in ST
Statement to ignore ST-objects
The usage of these language elements makes it possible to use other elements (e.g. declaration of STRING
variables within the section VAR ... END_VAR
) as well. Such elements are not listed here.